//
//  HomeNewCell.m
//  intelligent
//
//  Created by Ace Portgas on 2024/2/28.
//

#import "HomeNewCell.h"
#import "SuggestModel.h"
@interface HomeNewCell()
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@end
@implementation HomeNewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(void)setModel:(SuggestModel *)model{
    _model = model;
    self.titleLabel.text = model.name;
}

- (IBAction)clickSendBtn {
    if (self.clickSendBlock) {
        self.clickSendBlock();
    }
}


@end
